<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>backdrop-filter</title>
    <style>
        h3 {
            text-align: center;
        }

        .img {
            position: relative;
        }

        img {
            width: 200px;
            height: 200px;
        }

        .box {
            width: 200px;
            height: 200px;
            position: absolute;
            top: 0;
            left: 0;
            backdrop-filter: blur(2px);
            /* 对元素背景进行 2px的模糊处理 */
            /* background-color: rgba(255, 255, 255, 0.3); */
            /* 半透明的背景色 */
        }
    </style>
</head>


<body>
    <h3>用于在元素后面应用模糊或其他效果，通常与半透明背景一起使用。</h3>
    <div class="img">
        <img src="./images/item.image" alt="">
        <div class="box"></div>
    </div>
</body>

</html>